package com.sec.etech.employeesync.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;

import java.util.Date;

/**
 * @Description 人员组织信息——岗位目录关系配置表
 * @Author 陈健
 * @Date 2024-08-26
 */

@Data
@TableName("org_employee_z_level_job_relation")
public class OrgEmployeeZLevelJobRelation implements Serializable {

	private static final long serialVersionUID = 1627654246890442869L;

	/**
	 * 主键
	 */
   	@TableId
	private Long levelJobRelationId;

	/**
	 * 一级岗位目录
	 */
   	@TableField(value = "primary_level_job_id")
	private Long primaryLevelJobId;

	/**
	 * 二级岗位目录
	 */
   	@TableField(value = "secondary_level_job_id")
	private Long secondaryLevelJobId;

	/**
	 * 三级岗位目录
	 */
   	@TableField(value = "tertiary_level_job_id")
	private Long tertiaryLevelJobId;

	/**
	 * 是否属于科技人才岗位：1-是，0-否
	 */
   	@TableField(value = "confirm")
	private Integer confirm;

	/**
	 * 有效性
	 */
   	@TableField(value = "active")
	private Integer active;

	/**
	 * 创建者
	 */
   	@TableField(value = "postuid", fill = FieldFill.INSERT)
	private Long postuid;

	/**
	 * 创建时间
	 */
   	@TableField(value = "postdate", fill = FieldFill.INSERT)
	private Date postdate;

	/**
	 * 修改者
	 */
   	@TableField(value = "lastuid", fill = FieldFill.INSERT_UPDATE)
	private Long lastuid;

	/**
	 * 修改时间
	 */
   	@TableField(value = "lastdate", fill = FieldFill.INSERT_UPDATE)
	private Date lastdate;

}
